def foo():
	print '\ncalling foo()'
	aString = 'bar'
	anInt=42
	print "foo()'s globals",globals()
	print "foo()'s locals",locals()

foo()